package com.ruoyi.SysWrong.domain;

import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 历史记录对象 camera
 * 
 * @author ruoyi
 * @date 2024-03-20
 */
@Schema(description = "历史记录对象")
public class SysWrong extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 摄像头id */
    @Schema(defaultValue = "摄像头id")
    @Excel(name = "摄像头id")
    private Long cameraId;
    /** 序号 */
    @Schema(defaultValue = "序号")
    private Long id;
    /** 父id */
    @Schema(defaultValue = "父id")
    private Long parentId;
    /** 状态 */
    @Schema(defaultValue = "状态")
    @Excel(name = "状态")
    private String state;
    /** 违章名称 */
    @Schema(defaultValue = "违章名称")
    @Excel(name = "违章名称")
    private String name;
    /** 图片 */
    @Schema(defaultValue = "图片")
    @Excel(name = "图片")
    private String phtot;
    /** 时间 */
    @Schema(defaultValue = "时间")
    @Excel(name = "时间")
    private LocalDate time;
    public void setCameraId(Long cameraId) 
    {
        this.cameraId = cameraId;
    }

    public Long getCameraId() 
    {
        return cameraId;
    }


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }


    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }


    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }


    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }


    public void setPhtot(String phtot) 
    {
        this.phtot = phtot;
    }

    public String getPhtot() 
    {
        return phtot;
    }


    public void setTime(LocalDate time) 
    {
        this.time = time;
    }

    public LocalDate getTime() 
    {
        return time;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cameraId", getCameraId())
            .append("id", getId())
            .append("parentId", getParentId())
            .append("state", getState())
            .append("name", getName())
            .append("phtot", getPhtot())
            .append("time", getTime())
            .toString();
    }
}
